
Commands Bound to Letters
| Key | Key Command | Shift + Key | Shift + Key Command | Alt + Key | Alt + Key Command | Ctrl + Key | Ctrl + Key Command |
|---|---|---|---|---|---|---|---|
| A | Apply | Shift+A | Abilities (status screen) | Alt+A | Adjust | Ctrl+A | Repeat |
| B | Take items out of bag in inventory | Shift+B | Put items into Bag in inventory | Ctrl+B | Break | ||
| C | Close door | Shift+C | Chat | Alt+C | Commands menu | Ctrl+C | Call |
| D | Drop | Shift+D | Drop multiple | Alt+D | Dip | Ctrl+D | Kick |
| E | Eat | Shift+E | Engrave | Alt+E | Wipe face | Ctrl+E | Detect (wizard mode only) |
| F | Fire | Shift+F | Fight | Alt+F | Force lock | Ctrl+F | Reveal map (wizard mode only) |
| G | Go mode — Rush | Shift+G | Go mode — Run | Alt+G | Genocided monsters | Ctrl+G | Dig |
| H | Help | Shift+H | Alt+H | Handedness | Ctrl+H | ||
| I | Inventory | Shift+I | Inventory of specific types | Alt+I | Invoke | Ctrl+I | Identify (wizard mode only) |
| J | Jump | Shift+J | Alt+J | Jump | Ctrl+J | ||
| K | Kick (when Vi-keys are disabled) | Shift+K | Alt+K | Vanquished creatures | Ctrl+K | ||
| L | Loot | Shift+L | Look | Alt+L | Loot | Ctrl+L | Light/Snuff out |
| M | Move mode — Rush | Shift+M | Move mode — Run | Alt+M | Genesis (wizard mode only) | Ctrl+M | |
| N | Number of actions1 | Shift+N | Name | Alt+N | Number of actions (alternate) | Ctrl+N | Annotate dungeon level |
| O | Open door | Shift+O | Options | Alt+O | Offer sacrifice | Ctrl+O | Dungeon overview |
| P | Pay bill | Shift+P | Put on | Alt+P | Pray | Ctrl+P | Previous message |
| Q | Drink (quaff) | Shift+Q | Quiver | Alt+Q | Quit | Ctrl+Q | |
| R | Read | Shift+R | Remove | Alt+R | Rub | Ctrl+R | Redraw screen |
| S | Search | Shift+S | Skills | Alt+S | Save | Ctrl+S | Sit |
| T | Throw | Shift+T | Take off | Alt+T | Take off many | Ctrl+T | Teleport |
| U | Untrap | Shift+U | Alt+U | Untrap | Ctrl+U | ||
| V | Version info | Shift+V | Game history info | Alt+V | GnollHack library info | Ctrl+V | Level teleport (wizard mode only) |
| W | Wield weapon | Shift+W | Wear armor | Alt+W | Wear many | Ctrl+W | Wish (wizard mode only) |
| X | Swap weapons | Shift+X | Mix spells | Alt+X | Examine | Ctrl+X | Dual weapon mode |
| Y | Take loot out of container on floor (yank) | Shift+Y | Put loot into container on floor (Yank) | Alt+Y | Yell for pets | Ctrl+Y | Yell for pets |
| Z | Zap wand | Shift+Z | Cast spell | Alt+Z | View spell | Ctrl+Z |
- Commands in italic are new commands in GnollHack that do not appear in NetHack.
-
1 Number of actions works like this: You first press
N, then write the number of actions in numerals, and then choose the action. For example,N20Ssearches 20 times.
Double Modifier Commands Bound to Letters
| Shift + Alt + Key | Shift + Alt + Key Command |
|---|---|
| Alt+Shift+A | Annotate dungeon level |
| Alt+Shift+E | Engrave quick (use preset writing) |
| Alt+Shift+M | Use monster ability |
| Alt+Shift+N | Name a monster or object class |
| Alt+Shift+P | Apply Wielded Polearm1 |
| Alt+Shift+R | Mount or dismount a saddled steed (Ride) |
| Alt+Shift+T | Empty a container (Tip) |
| Alt+Shift+W | Wield a previously wielded weapon |
| Alt+Shift+X | Apply a pick-axe or cutting tool quick |
- Commands in italic are new commands in GnollHack that do not appear in NetHack.
- 1 The polearm can also be a swap weapon.
Other Commands
| Key | Key Command |
|---|---|
| , | Pick up |
| ; | Pick up and stash |
| . | Wait |
| : | Near look (at the ground) |
| _ | Travel |
| < | Go up |
| > | Go down |
| / | Far look |
| * | Equipment (worn items) |
| " | Show worn amulet |
| # | Extended command |
| ? | Help |
| + | Spell menu |
| ( | List tools |
| ) | Show weapon |
| = | Show worn rings |
| [ | Show worn armor |
| } | Character details (Describe your character) |
- Commands in italic are new commands in GnollHack that do not appear in NetHack.
Movement By Arrow Keys
| Key | Direction | Ctrl + Key | Direction | Alt + Key | Direction |
|---|---|---|---|---|---|
| ↑ | ↑ |
Ctrl + ↑ | ↖ |
Alt + ↑ | ↗ |
| ↓ | ↓ |
Ctrl + ↓ | ↙ |
Alt + ↓ | ↘ |
| ← | ← |
Ctrl + ← | ↖ |
Alt + ← | ↙ |
| → | → |
Ctrl + → | ↗ |
Alt + → | ↘ |
Please see the table below for how the keys map by direction:
Ctrl + ↑Ctrl + ←
|
↑ |
Alt + ↑Ctrl + →
|
← |
→ |
|
Ctrl + ↓Alt + ←
|
↓ |
Alt + ↓Alt + →
|
Movement by Number Pad
While Num Lock is on, you can use the number pad for movement.
- 1–4, 6–9 for directions.
- 5 in the middle enables the run mode.
Movement by Regular Number Keys
The directions work also without a number pad with regular number keys:
7 |
8 |
9 |
4 |
5 |
6 |
1 |
2 |
3 |
5 in the middle enables the run mode.
Zoom and View Controls
You can adjust the map zoom level using the following keyboard shortcuts:
| Key | Alternate Key | Command |
|---|---|---|
Ctrl + +
|
Alt + +
|
Zoom in |
Ctrl + -
|
Alt + -
|
Zoom out |
Ctrl + 0
|
Alt + 0
|
Reset zoom to normal |
Ctrl + .
|
Alt + .
|
Toggle zoom to fit screen (minimap mode) |
- Commands in italic are new commands in GnollHack that do not appear in NetHack.
Vi-Keys
You can activate vi-keys in one of the following ways:
- In settings, enable Default Vi-Keys and ensure that number_pad is not set in options.
- In settings, keep Default Vi-Keys disabled and set number_pad:0 in options.
When you have vi-keys enabled, you can use the following keys for movement:
y |
k |
u |
h |
l |
|
b |
j |
n |
Alternate Key Bindings When Vi-Keys Are Enabled
| Normal Key | Command | Alternate Key |
|---|---|---|
| B | Take items out of bag in inventory | Alt+Shift+G |
| Shift+B | Put items into Bag in inventory | Alt+Shift+F |
| Ctrl+B | Break | Alt+Shift+B |
| J | Jump | Alt+J |
| K | Kick | Ctrl+D |
L |
Loot | Alt+L
|
Ctrl+L |
Light/Snuff out | Alt+Shift+I |
| N | Number of actions | Automatic1 |
| Shift+N | Name | Alt+Shift+N |
| U | Untrap | Alt+U |
| Y | Take loot out of container on floor (yank) | Alt+Shift+D |
| Shift+Y | Put loot into container on floor (Yank) | Alt+Shift+C |
- Commands in italic are new commands in GnollHack that do not appear in NetHack.
- 1 When you press a number key, the game automatically assumes that it's the number of actions command.
Legacy Keyboard Shortcuts
The following keyboard shortcuts are not supported by the modern GnollHack clients and are only available in the legacy Windows version GnollHack:
| Key Shortcut | Command |
|---|---|
| Alt+B | Toggle hitpoint bars |
| Alt+Shift+Y | Toggle buff timers |
- Commands in italic are new commands in GnollHack that do not appear in NetHack.